package rozetka.pageObjects;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;

public class MyCabinet {

	WebDriver driver;
	private static final By titleMySettings = By
			.xpath("/html/body/div[2]/div/div/div/div/div/div/h1");

	public MyCabinet(WebDriver driver2) {
		driver = driver2;
	}

	public WebElement getAnchorInMyCabinet() {
		return driver.findElement(titleMySettings);
	}

}
